﻿if exists (select * from sysobjects where name like N'%sp_DMLoaiTienTe_Update%')
	drop proc sp_DMLoaiTienTe_Update
go
create proc sp_DMLoaiTienTe_Update
	@MaLoaiTienTe int = null,
	@TenLoaiTienTe nvarchar(50) = null,
	@IsUse bit = null,
	@CreateBy int = null,
	@ModifiedBy int = null,
	@ModifiedOn datetime = null
as
begin
	update DMLoaiTienTe
	set TenLoaiTienTe = @TenLoaiTienTe,
		IsUse = @IsUse,
		ModifiedBy = @ModifiedBy,
		ModifiedOn = @ModifiedOn
	where MaLoaiTienTe = @MaLoaiTienTe
end